surfaceChanged

open fun surfaceChanged(holder: SurfaceHolder, format: Int, width: Int, height: Int)

Called when the surface changes (e.g., size, format). Currently logs the event.

Parameters

holder

The SurfaceHolder whose surface has changed.

format

The new PixelFormat of the surface.

width

The new width of the surface.

height

The new height of the surface.